package cn.hniu.mapper;

import cn.hniu.pojo.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminMapper extends BaseMapper<Admin> {
    //登录功能
    public Admin login(String username, String password);

    // 退出功能
    public Admin quit(Integer id);

}
